

class Repository(object):

    def __init__(self, provider, distribution, url, port, user, passwd, arch, branch, section):
        #self.id = id
        self.id_repository = 0
        self.distribution = distribution
        self.provider = provider
        self.url = url
        self.port = port
        self.login = user
        self.password = passwd
        self.architecture = arch
        self.branch = branch
        self.section = section
        
    
    def __str__(self):
        str = self.distribution + " " + self.provider + " " + self.url + " " + self.architecture + " " + self.branch + " " + self.section
        return str


